package com.xbb.mapper;

import com.xbb.entity.Notice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NoticeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKeyWithBLOBs(Notice record);

    int updateByPrimaryKey(Notice record);

    List<Notice> selectListByPaging(@Param("page") Integer page,
                                    @Param("limit") Integer limit,
                                    @Param("title") String title);

    int selectCountByPaging(@Param("title") String title);

    Notice selectById(Integer id);
}